//
//  WFDatePickerViewController.h
//  meizhuang
//
//  Created by hzduanjiashun on 16/7/11.
//  Copyright © 2016年 netease. All rights reserved.
//

#import "WFActivityViewController.h"

@protocol WFDatePickerViewControllerDelegate;
@interface WFDatePickerViewController : WFActivityViewController

@property (weak, nonatomic) id<WFDatePickerViewControllerDelegate> delegate;

@property (strong, nonatomic) NSDate *date;
@property (strong, nonatomic) NSDate *maxDate;
@property (strong, nonatomic) NSDate *minDate;

@property (strong, nonatomic) UIDatePicker *datePicker;
@property (strong, nonatomic) UIButton *cancelButton;
@property (strong, nonatomic) UIButton *okButton;

@end

@protocol WFDatePickerViewControllerDelegate <NSObject>
@optional
- (void)datePickerViewController:(WFDatePickerViewController *)controller didSelectDate:(NSDate *)date;
- (void)datePickerViewControllerDidCancel:(WFDatePickerViewController *)controller;

@end
